import xyRequest from '../utils/request'
import { IDepartmentListType } from './types'
/**
 * 获取部门列表
 */
export const getDepartmentList = (data: IDepartmentListType) => {
  return xyRequest.request({
    url: '/department/list',
    data,
    method: 'post'
  })
}
